﻿
if exists(select * from sysobjects where name = 'ERPStore_BanishedProductBySource' and xtype = 'U')
Begin
	drop table dbo.ERPStore_BanishedProductBySource
End
Go

create table dbo.ERPStore_BanishedProductBySource
(
	Id int identity(1,1) not null,
	ProductId int not null,
	SourceId varchar(50) not null,
	ReleaseDate datetime null
)
Go

alter table ERPStore_BanishedProductBySource add constraint PK_ERPStore_BanishedProductBySource_Id primary key (Id)
Go

